//
//  JPFChooseModel.h
//  JPFCoreKit
//
//  Created by jpf on 2021/11/16.
//  Copyright © 2021 jpf. All rights reserved.
//

#import <JPFCoreKit/JPFCoreKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface JPFChooseModel : JPFComModel


@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) id val;
//是否可以改变选中状态,默认可以
@property (nonatomic) BOOL canChangeSelected;
//是否选中，默认未选中
@property (nonatomic) BOOL isSelect;

- (instancetype)initName:(NSString *)name val:(NSObject *)val isSelect:(BOOL)isSelect;

- (instancetype)initName:(NSString *)name val:(NSObject *)val isSelect:(BOOL)isSelect canChangeSelected:(BOOL)canChangeSelected;

@end

NS_ASSUME_NONNULL_END
